package com.cskaoyan.vo.wxfree;

import com.cskaoyan.bean.market.Keyword;
import lombok.Data;

import java.util.List;

/**
 * @program: mall
 * @description:
 * @author: Mr.Mengmeng
 * @create: 2021-04-12 16:11
 **/
@Data
public class WxSearchIndexVo {
    /**
     * defaultKeyword : {"id":1,"keyword":"母亲节","url":"12121","isHot":true,"isDefault":true,"sortOrder":100,"addTime":"2018-02-01 00:00:00","updateTime":"2021-04-12 14:19:12","deleted":false}
     * hotKeywordList : [{"id":1,"keyword":"母亲节","url":"12121","isHot":true,"isDefault":true,"sortOrder":100,"addTime":"2018-02-01 00:00:00","updateTime":"2021-04-12 14:19:12","deleted":false},{"id":6,"keyword":"520元礼包抢先领","url":"","isHot":true,"isDefault":true,"sortOrder":1,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":8,"keyword":"哈哈哈","url":"JAJAJA","isHot":true,"isDefault":true,"sortOrder":100,"addTime":"2021-04-11 22:19:17","updateTime":"2021-04-12 14:08:32","deleted":false}]
     * historyKeywordList : [{"keyword":"520元礼包抢先领"}]
     */

    private Keyword defaultKeyword;
    private List<Keyword> hotKeywordList;
    private List<HistoryKeywordListBean> historyKeywordList;

    public WxSearchIndexVo(Keyword defaultKeyword, List<Keyword> hotKeywordList, List<HistoryKeywordListBean> historyKeywordList) {
        this.defaultKeyword = defaultKeyword;
        this.hotKeywordList = hotKeywordList;
        this.historyKeywordList = historyKeywordList;
    }

    public WxSearchIndexVo() {
    }

    @Data
    public static class HistoryKeywordListBean {
        /**
         * keyword : 520元礼包抢先领
         */
        private String keyword;
    }
}
